<!---
@自动生成 BY Kupe框架 www.kupebank.com
#date : 2018-03-08 12:11:18
#path : app/template/admin/system.add.html
--->

<form class="layui-form" id="open_page_form" action="" style="padding:10px;width:450px;">
  <div class="layui-form-item">
    <label class="layui-form-label">配置说明</label>
    <div class="layui-input-block">
      <input type="text" name="desc" required  lay-verify="required" placeholder="请输入配置名称" autocomplete="off" class="layui-input">
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">唯一标识</label>
    <div class="layui-input-block">
      <input type="text" name="key" required  lay-verify="required" placeholder="请输入唯一标识,必须不重复" autocomplete="off" class="layui-input">
    </div>
  </div>


  
 
  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">配置内容</label>
    <div class="layui-input-block">
      <textarea name="value" placeholder="请输入配置简介" class="layui-textarea"></textarea>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">分类</label>
    <div class="layui-input-block">
      
	  <input type="text" name="type" value="{$type}" placeholder="请输入分类" autocomplete="off" class="layui-input">

    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">     排序 </label>
    <div class="layui-input-block">
      <input type="text" name="porder" value="{$porder}" required  lay-verify="number" placeholder="请输入排序" autocomplete="off" class="layui-input">
    </div>
  </div>



  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
 
<script>
formSubmit('{_url m="doadd"}','formDemo','reset');
</script>